package com.relytosoft.mizar.analyze.base.entity.bitman;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * FeatureExtractionDto
 *
 * @Author SunLi
 * @Date: 2022/5/16 16:53
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class FeatureExtractionDto {
    /**
     * 目标类型 1 人；2 机动车；3 非机动车
     * 结构化需要
     */

    @JsonProperty("TargetType")
    private Integer targetType;

    /**
     * 图片 base64 编码
     */
    @JsonProperty("ImageData")
    private String imageData;

    /**
     * 图片类型：1 大图；2 小图，推荐 2
     * 结构化需要
     */
    @JsonProperty("PictureType")
    private Integer pictureType;

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }

    public String getImageData() {
        return imageData;
    }

    public void setImageData(String imageData) {
        this.imageData = imageData;
    }

    public Integer getPictureType() {
        return pictureType;
    }

    public void setPictureType(Integer pictureType) {
        this.pictureType = pictureType;
    }

    @Override
    public String toString() {
        return "FeatureExtractionReqDto{" +
                "targetType=" + targetType +
                ", imageData='" + imageData + '\'' +
                ", pictureType=" + pictureType +
                '}';
    }
}
